/*
 * Copyright 2003-2005 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */

#ifndef MIXEDDATA
#define MIXEDDATA

#ifdef __cplusplus
extern "C" {
#endif

typedef struct mixed_data
{
	int32_t anInt;
	int16_t aShort;
	char * anAscii;
}
mixed_data;

extern type_name mixed_data_name;

void mixed_data_init( mixed_data * data, int32_t i, int16_t s, char * str );


void * mixed_data_construct( type_list * objects, type_map * map );
int mixed_data_read( type_input_stream * in, type_element * element, void* data );
int mixed_data_write( type_output_stream * out, void * o, type_element * element, void* data );

int mixed_data_register( type_library * library );

#ifdef __cplusplus
}
#endif

#endif
